{smcl}
{txt}{sf}{ul off}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\b059066\Documents\Filkassen\Digital Chikane af politikere\Artikler\Artikel 5, Countering online abuse through norms\Replication\replication_files_upload\countering_abuse_log.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 5 Dec 2024, 13:38:30
{txt}
{com}. 
. *********************************************************************************
. ***DOES ONLINE ABUSE OF POLITICIANS DECREASE CITIZENS' POLITICAL PARTICIPATION***
. *********************************************************************************
. ****STATA 18*********************************************************************
. *********************************************************************************
. 
. ***Settings and data
.         clear all
{res}{txt}
{com}.         set scheme plotplain
{txt}
{com}.         graph set window fontface "Perpetua"
{txt}
{com}.         cd "C:\Users\b059066\Documents\Filkassen\Digital Chikane af politikere\Artikler\Artikel 5, Countering online abuse through norms\Replication
{res}C:\Users\b059066\Documents\Filkassen\Digital Chikane af politikere\Artikler\Artikel 5, Countering online abuse through norms\Replication
{txt}
{com}.         use "countering_abuse_data.dta"
{txt}
{com}.         
. *Adding label
. label define agree 1 "Completely disagree" 2 "Disagree" 3 "Somewhat disagree" 4 "Neither/nor" 5 "Somewhat agree" 6 "Agree" 7 "Completely agree" 99 "Don't know"
{txt}
{com}. label values tolerate write report agree
{txt}
{com}. 
.         * Descriptives
.         graph hbar, over(tolerate) blabel(bar, format(%9.1f)) title("{c -(}it:Politicians should be{c )-}" "{c -(}it:able to tolerate such comments{c )-}") fxsize(44)
{res}{txt}
{com}.                 graph save tolerate_hbar, replace
{txt}{p 0 4 2}
(file {bf}
tolerate_hbar.gph{rm}
not found)
{p_end}
{res}{txt}file {bf:tolerate_hbar.gph} saved

{com}.         graph hbar, over(write, axis(off)) blabel(bar, format(%9.1f)) title("{c -(}it:I would consider writing a comment{c )-}" "{c -(}it:to show my support for the politician{c )-}") fxsize(28)
{res}{txt}
{com}.                 graph save write_hbar, replace
{txt}{p 0 4 2}
(file {bf}
write_hbar.gph{rm}
not found)
{p_end}
{res}{txt}file {bf:write_hbar.gph} saved

{com}.         graph hbar, over(report, axis(off)) blabel(bar, format(%9.1f)) title("{c -(}it:I would report this{c )-}" "{c -(}it:comment to Facebook{c )-}") fxsize(28)
{res}{txt}
{com}.                 graph save report_hbar, replace
{txt}{p 0 4 2}
(file {bf}
report_hbar.gph{rm}
not found)
{p_end}
{res}{txt}file {bf:report_hbar.gph} saved

{com}.                 
.         graph combine  tolerate_hbar.gph write_hbar.gph report_hbar.gph, row(1) xcommon
{res}{txt}
{com}.                 graph export hbar_dv.tif, replace
{txt}{p 0 4 2}
file {bf}
hbar_dv.tif{rm}
saved as
TIFF
format
{p_end}

{com}.                 drop tolerate_hbar.gph write_hbar.gph report_hbar.gph
{err}factor-variable and time-series operators not allowed
{txt}{search r(101), local:r(101);}

end of do-file

{search r(101), local:r(101);}

{com}. do "C:\Users\b059066\Documents\Filkassen\Digital Chikane af politikere\Artikler\Artikel 5, Countering online abuse through norms\Replication\replication_files_upload\Countering_abuse_analyses.do"
{txt}
{com}. log using countering_abuse_log, replace
{err}log file already open
{txt}{search r(604), local:r(604);}

end of do-file

{search r(604), local:r(604);}

{com}. do "C:\Users\b059066\AppData\Local\Temp\STD322c_000000.tmp"
{txt}
{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\b059066\Documents\Filkassen\Digital Chikane af politikere\Artikler\Artikel 5, Countering online abuse through norms\Replication\replication_files_upload\countering_abuse_log.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 5 Dec 2024, 13:41:10
{txt}{.-}
{smcl}
{txt}{sf}{ul off}